package com.caipin.controller;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-09-30 9:26
 * @Description: TODO
 */
@RestController
@RequestMapping({"/NVRManagement"})
public class NVRManagementController {
    private static final Logger log = LoggerFactory.getLogger(com.caipin.controller.NVRManagementController.class);

    @Autowired
    private NVRManagementService nvrManagementService;

    @PostMapping({"/faceMatchReport"})
    public Object faceMatchReport(@RequestBody FaceMatchEntity faceMatchEntity) {
        log.info(faceMatchEntity.toString());
        this.nvrManagementService.save(faceMatchEntity);
        return ResultJson.ok();
    }
}
